package edu.scau.divineplace.entity.vo.content;

import com.baomidou.mybatisplus.annotation.TableField;
import edu.scau.divineplace.entity.enums.ContentTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: x1aolone
 * @Date: 2021/1/3 15:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("ContentSimplyInfoVO")
public class ContentSimplyInfoVO {

    @ApiModelProperty(value = "评分人数")
    private Long commentNum;

    @ApiModelProperty(value = "评分")
    private Double score;

    @ApiModelProperty(value = "内容id")
    private Long id;

    @ApiModelProperty(value = "内容类型")
    private ContentTypeEnum type;

    @ApiModelProperty(value = "内容原名")
    private String originalName;

    @ApiModelProperty(value = "内容中文名")
    private String chineseName;

    @ApiModelProperty(value = "内容简介文字")
    private String introductionText;

    @ApiModelProperty(value = "内容简介图片")
    private String introductionImg;

    @ApiModelProperty(value = "发布日期")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新日期")
    private LocalDateTime updateTime;

}
